﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>$Post.Title - $Blog.Name</title>
    <link href="/themes/default/css/style.css" rel="stylesheet" />
</head>
<body>
    $load("header.html")

    <div class="containet">
        <article class="details">
            <div class="title">$Post.Title</div>
            <div class="meta">
                <span><i class="icon icon-author"></i> $Post.Author</span>
                <span><i class="icon icon-time"></i> $Post.DateCreated.ToString("yyyy-MM-dd")</span>
                <span>
                    <i class="icon icon-channel"></i>
                    $foreach(row in categories)
                    <a href="$Sys.GetUrl(row)">$row.CategoryName</a>
                    $end 
                </span>
            </div>
            <div class="post">
                $Post.PostContent
            </div>
            
        </article>

        <div class="sidebar">
            $load("sidebar.html")
        </div>
    </div>

    $load("footer.html")
</body>
</html>
